<extend name="Public/main" />

<block name="body">
	<div class="wrap jj">
		<include file="Public/nav"/>
		<div class="common-form">
		<div class="nav">
			<ul class="cc">
				<li><a href="{:U('Recipients/teacher')}">老师列表</a></li>
				<li class="current"><a href="{:U('Recipients/addeteacher')}">添加老师</a></li>
			</ul>
		</div>
			<form method="post" class="J_ajaxForm" action="{:U('Recipients/addeteacher')}">
				<div class="h_a">菜单信息</div>
				<div class="table_list">
					<table cellpadding="0" cellspacing="0" class="table_form" width="100%">
						<input type="hidden" name="id" value="{$data.id}" />
						<tbody>
							<tr>
								<td>学校</td>
								<td>
									<select name="schoolId" id="">
									<option value="">选择学校</option>
									<?php foreach ($school as $key => $v): ?>
										<option value="{$v.id}" selected="<?php if($v['id']==$_GET['id']){ echo 'selected';} ?>">{$v.name}</option>
									<?php endforeach ?>
										
									</select>
								</td>
							</tr>
							
							<tr>
								<td>姓名:</td>
								<td><input type="text" class="input" name="name" value="{$data.name}"></td>
							</tr>
							<tr>
								<td>电话:</td>
								<td><input type="text" class="input" name="phone" id="phone" value="{$data.phone}"></td>
							</tr>
							
						</tbody>
					</table>
				</div>
				<div class="">
					<div class="btn_wrap_pd">
						<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
						
					</div>
				</div>
			</form>
		</div>
	</div>
</block>